package com.bosssoft.trainee;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity;

/**
 * @Author: wuxin
 * @Date: 2022/6/12
 * @Project rbac
 * @Version 1.0
 * @Description
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableGlobalMethodSecurity(prePostEnabled = true)
public class RbacSpringbootApplication {

    public static void main(String[] args) {
        SpringApplication.run(RbacSpringbootApplication.class, args);
    }

}
